# -*- coding: utf-8 -*-
# @Time    : 2025/4/18 16:02
# @Author  : yxb
# @Email   : 18282090563@163.com
# @File    : appium_test2.py
# @Software: PyCharm
from appium.webdriver.common.appiumby import AppiumBy
from selenium.webdriver.support.wait import WebDriverWait
from selenium.common.exceptions import ElementNotVisibleException,ElementNotSelectableException,NoSuchElementException


wait = WebDriverWait(driver,25,poll_frequency=1,
                     ignored_exceptions=[ElementNotVisibleException ,ElementNotSelectableException,NoSuchElementException])


ele = wait.until(lambda x:x.find_element(AppiumBy.ANDROID_UIAUTOMATOR,'text("搜索设置")'))
ele.click()









